home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / npdr.xml < prev    next >
Text File  |  2002-10-03  |  3KB  |  72 lines

  1. <search function="npdr">
  2.   <name>Nurses' PDR</name>
  3.   <category>Reference</category>
  4.   <contributor>John W. Bairen, Jr.</contributor>
  5.   <link>http://www.nursespdr.com/members/database/index.html</link>
  6.   <email>john_at_bairen_dot_net</email>
  7.   <description>
  8.   Search www.nursespdr.com database for drug information.<br/>
  9.     <div class="helpboxDescLabels">Switches:</div>
  10.       <table class="helpboxDescTable">
  11.           <tr><td>/and</td><td> - </td><td>Match all terms</td></tr>
  12.           <tr><td>/or</td><td> - </td><td>Match any terms</td></tr>
  13.       </table>
  14.     <div class="helpboxDescLabels">Examples:</div>
  15.     <table class="helpboxDescTable">
  16.           <tr><td>npdr aluminum sulfate /and</td></tr>
  17.           <tr><td>npdr aluminum sulfate /or</td></tr>
  18.           <tr><td>npdr fentanyl</td></tr>
  19.       </table>
  20.   </description>
  21.   <form name="npdrf"
  22.         method="post"
  23.         action="http://search.delmar.com/cgi-bin/htsearch">
  24.     <input type="hidden" name="method" value="and" />
  25.     <input type="hidden" name="config" value="nursespdr" />
  26.     <input type="hidden" name="restrict" value="" />
  27.     <input type="hidden" name="exclude" value="" />
  28.     <input type="hidden" name="words" value="" />
  29.   </form>
  30.   <script><![CDATA[
  31.     function npdr(q)
  32.     {
  33.       if( nullArgs("npdr", q) )
  34.         return;
  35.  
  36.       var args = parseArgs(q, "and, or");
  37.       if ( args.switches.length > 0 )
  38.       {
  39.         switch( args.switches[0].name )
  40.         {
  41.           case "and":
  42.             document.npdrf.method.value = "and";
  43.             break;
  44.           case "or":
  45.             document.npdrf.method.value = "or";
  46.             break;
  47.           default:
  48.             document.npdrf.method.value = "and";
  49.             break;
  50.         }
  51.       }
  52.  
  53.       // FORM variables for npdrf
  54.       //document.npdrf.method.value = "";
  55.       //document.npdrf.config.value = "";
  56.       //document.npdrf.restrict.value = "";
  57.       //document.npdrf.exclude.value = "";
  58.       document.npdrf.words.value = args.q;
  59.  
  60.       submitForm(npdrf);
  61.     }
  62.   ]]></script>
  63.   <copyright>
  64.     The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
  65.     Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  66.   </copyright>
  67.   <created_by>
  68.     This search file was initially created on 10/03/02 at 13:56:46
  69.     by Dave's Quick Search Deskbar Search Wizard version 0.7 (beta),
  70.     Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  71.   </created_by>
  72. </search>